from datetime import datetime

# --- 数据源配置 ---
REDIS_HOST = 'localhost'
REDIS_PORT = 6379
DB_NUM = 0

# --- 数据范围配置 ---
SIMULATION_START_DATE = datetime(2021, 5, 1)
SIMULATION_END_DATE = datetime(2021, 5, 15) # 范围是 [start, end)，所以结束日期要加一天
NUM_COMMUNITIES = 74

# --- 模型训练配置 ---
# 我们用过去 48 个时间槽 (24小时) 的数据来预测未来
LAG_WINDOW_SIZE = 48 

# 最终训练好的模型要保存的路径
MODEL_OUTPUT_PATH = "./backend/server/models/net_flow_predictor.joblib"